package com.ruoyi.drinkshop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 shop_goods
 * 
 * @author hongly
 * @date 2024-12-02
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 商品类别 */
    @Excel(name = "商品类别")
    private String goodsCategoryName;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    /** 显示次序 */
    @Excel(name = "显示次序")
    private Integer displayOrder;

    /** 默认价格 */
    @Excel(name = "默认价格")
    private Integer defaultPrice;

    /** 是否在卖 */
    @Excel(name = "是否在卖")
    private Integer isSell;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String image;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setGoodsCategoryName(String goodsCategoryName) 
    {
        this.goodsCategoryName = goodsCategoryName;
    }

    public String getGoodsCategoryName() 
    {
        return goodsCategoryName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDisplayOrder(Integer displayOrder) 
    {
        this.displayOrder = displayOrder;
    }

    public Integer getDisplayOrder() 
    {
        return displayOrder;
    }
    public void setDefaultPrice(Integer defaultPrice) 
    {
        this.defaultPrice = defaultPrice;
    }

    public Integer getDefaultPrice() 
    {
        return defaultPrice;
    }
    public void setIsSell(Integer isSell) 
    {
        this.isSell = isSell;
    }

    public Integer getIsSell() 
    {
        return isSell;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsCategoryName", getGoodsCategoryName())
            .append("name", getName())
            .append("displayOrder", getDisplayOrder())
            .append("defaultPrice", getDefaultPrice())
            .append("isSell", getIsSell())
            .append("image", getImage())
            .append("description", getDescription())
            .toString();
    }
}
